[INFO] cloning repository https://github.com/patrickvonplaten/rust_expectation_maximisation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickvonplaten/rust_expectation_maximisation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickvonplaten%2Frust_expectation_maximisation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickvonplaten%2Frust_expectation_maximisation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3b53ec8fa86ff300c2ca2e5f44f6625053915378
[INFO] building patrickvonplaten/rust_expectation_maximisation against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickvonplaten%2Frust_expectation_maximisation" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/patrickvonplaten/rust_expectation_maximisation on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/patrickvonplaten/rust_expectation_maximisation
[INFO] finished tweaking git repo https://github.com/patrickvonplaten/rust_expectation_maximisation
[INFO] tweaked toml for git repo https://github.com/patrickvonplaten/rust_expectation_maximisation written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/patrickvonplaten/rust_expectation_maximisation already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4ed7388d62a21b1aaa48f957ad87f5708a84805cc91c968b8841f65d875290a7
[INFO] running `Command { std: "docker" "start" "-a" "4ed7388d62a21b1aaa48f957ad87f5708a84805cc91c968b8841f65d875290a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ed7388d62a21b1aaa48f957ad87f5708a84805cc91c968b8841f65d875290a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ed7388d62a21b1aaa48f957ad87f5708a84805cc91c968b8841f65d875290a7", kill_on_drop: false }`
[INFO] [stdout] 4ed7388d62a21b1aaa48f957ad87f5708a84805cc91c968b8841f65d875290a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e8bbaad63f292e4dcf137b02747d9bd1498c8d91d4d545d7cb46c45f74b05df0
[INFO] running `Command { std: "docker" "start" "-a" "e8bbaad63f292e4dcf137b02747d9bd1498c8d91d4d545d7cb46c45f74b05df0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling serde v1.0.114
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling bstr v0.2.13
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling csv v1.1.3
[INFO] [stderr]    Compiling rand_distr v0.2.2
[INFO] [stderr]    Compiling old_faithful_learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]   --> src/main.rs:93:3
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl GaussianProb {
[INFO] [stdout]    |                   - unclosed delimiter
[INFO] [stdout] ...
[INFO] [stdout] 83 |     fn compute_prob(x: Vec<f32>) -> f32 {
[INFO] [stdout]    |                                         - this delimiter might not be properly closed...
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout] 85 | }
[INFO] [stdout]    | - ...as it matches this but it has different indentation
[INFO] [stdout] ...
[INFO] [stdout] 93 | }
[INFO] [stdout]    |   ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/main.rs:84:27
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout]    |                           ^ help: add `;` here
[INFO] [stdout] 85 | }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_random_vector` in this scope
[INFO] [stdout]   --> src/main.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mean: Vec<f32> = get_random_vector(dim);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider using the associated function
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mean: Vec<f32> = Self::get_random_vector(dim);
[INFO] [stdout]    |                              ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_random_vector` in this scope
[INFO] [stdout]   --> src/main.rs:64:34
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let variance: Vec<f32> = get_random_vector(dim);
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider using the associated function
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let variance: Vec<f32> = Self::get_random_vector(dim);
[INFO] [stdout]    |                                  ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mean` in this scope
[INFO] [stdout]   --> src/main.rs:84:23
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let exp = x - mean
[INFO] [stdout]    |                       ^^^^ a field by this name exists in `Self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::f64;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:79:58
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn calculate_probability(data: Vec<Vec<f32>>) -> Vec<f32> {
[INFO] [stdout]    |            ---------------------                         ^^^^^^^^ expected struct `Vec`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<f32>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] help: consider returning the local binding `probs`
[INFO] [stdout]    |
[INFO] [stdout] 81 ~         let one = 1.0_f64;
[INFO] [stdout] 82 +         probs
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:83:37
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn compute_prob(x: Vec<f32>) -> f32 {
[INFO] [stdout]    |        ------------                 ^^^ expected `f32`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `exp`
[INFO] [stdout]    |
[INFO] [stdout] 84 ~         let exp = x - mean
[INFO] [stdout] 85 +         exp
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `old_faithful_learn` due to 8 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "e8bbaad63f292e4dcf137b02747d9bd1498c8d91d4d545d7cb46c45f74b05df0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8bbaad63f292e4dcf137b02747d9bd1498c8d91d4d545d7cb46c45f74b05df0", kill_on_drop: false }`
[INFO] [stdout] e8bbaad63f292e4dcf137b02747d9bd1498c8d91d4d545d7cb46c45f74b05df0
